
	<?php
		$featuredproductsku = get_post_custom($post->ID);
		$fprodsku = $featuredproductsku['_sku'];
			foreach ( $fprodsku as $fprodsku );
		$featuredproductlistprice = get_post_custom($post->ID);
		$fprodlistprice = $featuredproductlistprice['_regular_price'];
			foreach ( $fprodlistprice as $fprodlistprice );
		$featuredproductprice = get_post_custom($post->ID);
		$fprodprice = $featuredproductprice['_sale_price'];
			foreach ( $fprodprice as $fprodprice );
	?>
    
    <table width="685" cellpadding="0" cellspacing="0" border="0">
    	<tr>
        	<td>
            	<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
            </td>
            <td>
            	<table>
                	<tr>
                    	<td><h4 style="font-size:12px;"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4></td>
                    </tr>
                    <tr>
                    	<td><p><?php the_excerpt(); ?></p></td>
                    </tr>
                    <tr>
                    	<td>
                        	<?php 
								$fprodsavings = (($fprodlistprice - $fprodprice) / $fprodlistprice);
								$showfprodsavings = $fprodsavings * 100;
							?>
                            $<?php echo $fprodprice; ?> | Save <?php echo round($showfprodsavings); ?>%
                        </td>
                    </tr>
                    <tr>
                    	<td><p><a class="button" href="<?php the_permalink(); ?>">View Details</a></p></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
<?php endwhile; ?>